package com.zxy.ziems.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxy.btp.mybatis.base.BtpBaseService;
import com.zxy.ziems.server.domain.User;
import com.zxy.ziems.server.domain.UserRoleRel;
import com.zxy.ziems.server.dto.UserDto;
import com.zxy.ziems.server.dto.UserRoleDto;
import com.zxy.ziems.server.vo.RoleVo;

import java.util.List;
import java.util.Set;

/**
 * (TUser)表服务接口
 *
 * @author makejava
 * @since 2023-11-17 10:29:09
 */
public interface UserRoleRelService extends IService<UserRoleRel> {

    void batchInsert(List<String> roleIdList, String userId);

    List<RoleVo> selectListByUserId(List<String> userIdList);

    void checkIsRel(String roleId);

    List<String> selectRoleIdList(String userId);

    List<UserRoleRel> listByRoleIds(Set<String> roleIdSet);
}

